/** 
 * @file
 * @description 公共组件注册文件 
 */

import {Tabs,TabPane,Select,Option, Alert,Pagination,MessageBox, Button, Input, Table, Tree ,Form, FormItem, Menu,MenuItem,MenuItemGroup,Submenu,Result,Breadcrumb,BreadcrumbItem} from "element-ui";
import {confirm} from "uti/common";

export default{
    install(Vue){
        Vue.prototype.$mb=MessageBox;
        Vue.prototype.$confirm=confirm;
       [Tabs,TabPane,Select,Option,Alert,Pagination,Button, Input, Table, Tree, Form, FormItem, Menu,MenuItem,MenuItemGroup,Submenu,Result,Breadcrumb,BreadcrumbItem].forEach(item=>Vue.use(item));
    }
}
